<?php
Class Branch_object extends Base_object{

	private $id;
	private $vendors_id;
	private $name;
	private $phone;
	private $addresses_id;

	public function __construct($id = null, $vendors_id = null, $name = null, $phone = null, $addresses_id = null){
		$this->id = $id;
		$this->vendors_id = $vendors_id;
		$this->name = $name;
		$this->phone = $phone;
		$this->addresses_id = $addresses_id;
		parent::__construct($id);
	}
	public function getId(){
		return $this->id;
	}
	public function getVendors_id(){
		return $this->vendors_id;
	}
	public function getName(){
		return $this->name;
	}
	public function getPhone(){
		return $this->phone;
	}
	public function getAddresses_id(){
		return $this->addresses_id;
	}
	public function getAddresses(){
		//TODO find the address object
	}
}